// src/pages/Register.jsx
import { Card } from 'antd';
import RegisterForm from '../components/RegisterForm';
import './LR.css';

export default function RegisterPage() {
  return (
    <div className="container" 
         style={{
          backgroundImage: 'url(/images/login.avif)', // 使用 public 中的路径 ✅
         }}>
      <Card title="注册账号" className="card">
        <RegisterForm />
      </Card>
    </div>
  );
}
